package vip.web3.admin.sys.form.user;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import vip.web3.common.dto.BaseForm;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * aut-horlilei
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AuthAuditForm extends BaseForm {
    private static final long serialVersionUID = 1L;

    @NotNull(message = "用户id不能空")
    private Integer id;

    /**
     * 0 未实名, 1 已申请，2 未通过 3 已实名
     */
    @NotNull(message = "审核是否通过不能空")
    @Min(value = 2, message = "实名认证状态只能是2,3")
    @Max(value = 3, message = "实名认证状态只能是2,3")
    private Integer authStatus;

}
